﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="quan_tri_bai_viet_don.ascx.cs" Inherits="Admin_Module_Control_quan_tri_bai_viet_don" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<link href="/Css/AdminForm.css" rel="Stylesheet" type="text/css" />
<telerik:RadWindowManager runat="server" ID="window1">
    <Windows>
         <telerik:RadWindow runat="server" Width="400px" Height="400px" VisibleStatusbar="false"
            NavigateUrl="FileManager.aspx" ID="ExplorerWindow" Modal="true" >
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
<fieldset>
     <legend style="padding: 10px 20px 10px"><h3 style="color: #3333FF; font-size:large">THÔNG TIN GIỚI THIỆU</h3></legend>
    <div style="text-align:center; font-size:larger"><asp:Label runat="server" ID="lblMessage"> </asp:Label></div>
<table style="text-align:left">
    <tr>
        <td>Tên Trang</td>
        <td><asp:TextBox CssClass="AdminTextbox" runat="server" ID="txtFunctionPageName"></asp:TextBox></td>
        <td><asp:RequiredFieldValidator runat="server" ID="require1" ControlToValidate="txtFunctionPageName"></asp:RequiredFieldValidator></td>
    </tr>
    
    <tr>
        <td>Tiêu đề trang</td>
        <td>
            <asp:TextBox CssClass="AdminTextbox" ID="txtFunctionPageTitle" runat="server"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="RequiredFieldValidator" 
                ControlToValidate="txtFunctionPageTitle"></asp:RequiredFieldValidator>
        </td>
    </tr>
    
    <tr>
        <td>Nội dung</td>
        <td>
            <telerik:RadEditor ID="txtFunctionPageDescription" runat="server">
                <ImageManager UploadPaths="/Upload/" ViewPaths="/Upload/" DeletePaths="/Upload/" />
                <DocumentManager UploadPaths="/Upload/" ViewPaths="/Upload/" DeletePaths="/Upload/" />
                <FlashManager UploadPaths="/Upload/" ViewPaths="/Upload/" DeletePaths="/Upload/" />
                <MediaManager UploadPaths="/Upload/" ViewPaths="/Upload/" DeletePaths="/Upload/" />
            </telerik:RadEditor>
        </td>
        <td>&nbsp;</td>
    </tr>
    
    <tr style="display:none;">
        <td>Ảnh Đại Diện</td>
        <td>
            <asp:TextBox CssClass="AdminTextbox" ID="txtFunctionPageImage" runat="server"></asp:TextBox>
            <asp:Button ID="selectFile" OnClientClick="openRadWindow('FileManager.aspx?control=txtFunctionPageImage','ExplorerWindow'); return false;" Text="Open... " runat="server" />
        </td>
        <td></td>
    </tr>
    
    <tr>
        <td>
            Meta Keyword
        </td>
        <td>
            <asp:TextBox CssClass="AdminTextbox" ID="txtMetaKeyword" runat="server"></asp:TextBox>
        </td>
        <td>
        </td>
    </tr>
    
    <tr>
        <td>
            Meta Description
        </td>
        <td>
            <asp:TextBox CssClass="AdminTextbox" ID="txtMetaDescription" runat="server"></asp:TextBox>
        </td>
        <td>
        </td>
    </tr>
    
    <tr>
        <td colspan="3" align="center">
            <asp:Button CssClass="AdminSaveButton" runat="server" ID="btnCreate" OnClick="btnCreate_Click" Text="Thêm Mới" />
            <asp:Button CssClass="AdminCancelButton" runat="server" ID="btnReset" OnClick="btnReset_Click" Text="Nhập Lại" />            
        </td>
    </tr>
</table>

</fieldset>